package cn.edu.scau.cmi.wuzewei.composite.consistent;

import java.util.Map;

public interface ConsistentComponent {

	String doSomething();
	String toString();
	
	ConsistentComponent getParent();

	void delete(String child);

	Map<String, ConsistentComponent> getChileren();

	void updateChildren(Map<String, ConsistentComponent> mapChildren);

	void addChild(String name, ConsistentComponent parentComponent);
}
